package com.bh.shipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.shipment.domain.JcShipmentBackDetail;

import java.util.List;

/**
 * 运单回单明细Service接口
 *
 * @author slx
 * @date 2023-04-22
 */
public interface IJcShipmentBackDetailService extends IService<JcShipmentBackDetail> {
    /**
     * 查询运单回单明细
     *
     * @param id 运单回单明细主键
     * @return 运单回单明细
     */
    public JcShipmentBackDetail selectJcShipmentBackDetailById(Long id);

    /**
     * 查询运单回单明细列表
     *
     * @param jcShipmentBackDetail 运单回单明细
     * @return 运单回单明细集合
     */
    public List<JcShipmentBackDetail> selectJcShipmentBackDetailList(JcShipmentBackDetail jcShipmentBackDetail);

    /**
     * 新增运单回单明细
     *
     * @param jcShipmentBackDetail 运单回单明细
     * @return 结果
     */
    public int insertJcShipmentBackDetail(JcShipmentBackDetail jcShipmentBackDetail);

    /**
     * 修改运单回单明细
     *
     * @param jcShipmentBackDetail 运单回单明细
     * @return 结果
     */
    public int updateJcShipmentBackDetail(JcShipmentBackDetail jcShipmentBackDetail);

    /**
     * 批量删除运单回单明细
     *
     * @param ids 需要删除的运单回单明细主键集合
     * @return 结果
     */
    public int deleteJcShipmentBackDetailByIds(Long[] ids);

    /**
     * 删除运单回单明细信息
     *
     * @param id 运单回单明细主键
     * @return 结果
     */
    public int deleteJcShipmentBackDetailById(Long id);
}
